Skip to content

feat: upgrade to React 19 with new JSX runtime#632

Merged
yarastqt merged 2 commits intobem:masterfrom
shlensky:react19
Feb 5, 2026
Merged

feat: upgrade to React 19 with new JSX runtime#632
yarastqt merged 2 commits intobem:masterfrom
shlensky:react19

Conversation

@shlensky
Copy link
Contributor

@shlensky shlensky commented Feb 4, 2026

  • Update react, react-dom to 19.0.0
  • Migrate from createElement to jsx from react/jsx-runtime
  • Remove forwardRef usage in withBemMod (refs forwarded by default in React 19)
  • Update peerDependencies to require React 19
  • Update ESLint config for React 19
  • Fix typos in comments and variable names

BREAKING CHANGE: drop support for React 16, 17, and 18

- Update react, react-dom to 19.0.0
- Migrate from createElement to jsx from react/jsx-runtime
- Remove forwardRef usage in withBemMod (refs forwarded by default in React 19)
- Update peerDependencies to require React 19
- Update ESLint config for React 19
- Fix typos in comments and variable names

BREAKING CHANGE: drop support for React 16, 17, and 18
The @types/node package uses Symbol.dispose and esnext.disposable
which require TypeScript 5.2+. Adding skipLibCheck allows building
with TypeScript 4.9.
@yarastqt yarastqt self-assigned this Feb 5, 2026
@yarastqt yarastqt merged commit c2d5bb7 into bem:master Feb 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants